home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 2
/
SPACE - Library 2 - Volume 1.iso
/
program
/
316
/
libsrc
/
fwrite.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1988-10-20
|
258 b
|
17 lines
#include "std-guts.h"
int fwrite(where, how_big, how_many, f)
char * where;
int how_big;
int how_many;
struct file * f;
{
int i, j;
for (i = 0 ; i < how_many ; i++)
for (j = 0 ; j < how_big ; j++)
fputc(*where++, f);
return(i);
}